package com.project.solomon.SessionBean;

import java.util.List;

import javax.ejb.Remote;

import com.project.entity.Account;
import com.project.entity.Property;
import com.project.entity.Property_Image;

@Remote
public interface PropertyBeanRemote {
	
	List <Property> getAllProp() throws Exception;
	List <Property> getAllPropFromAcc(Account acc) throws Exception;
	String getRandomIMGPath(String propID) throws Exception;
	List <String> getAllIMGPath(String propID) throws Exception;
	boolean updateProperty(Property prop) throws Exception;
	List <Property> requestProperty(String pid) throws Exception;
	List requestPropertyImages(String pid);
	void deletePropImage(Property_Image p_i);
	void updatePropImages(Property_Image p_i_l,Property prop);
}
